﻿using Granite;
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Granite.Commons.Tests
{
    [TestClass]
    public class StringUtilitiesTests
    {
        [TestMethod]
		public void StringUtilities_IsNullOrWhiteSpaceTest()
        {
            Assert.IsTrue(StringUtilities.IsNullOrWhiteSpace(null));
            Assert.IsTrue(StringUtilities.IsNullOrWhiteSpace(""));
            Assert.IsTrue(StringUtilities.IsNullOrWhiteSpace(" "));
            Assert.IsFalse(StringUtilities.IsNullOrWhiteSpace("c"));
        }
    }
}
